package com.ucl.service.flowsearch;

import com.ucl.model.common.ApiResult;
import com.ucl.model.entity.flowsearch.FlowDataOption;
import com.ucl.model.request.flowsearch.FSBaseQueryPara;
import com.ucl.model.request.flowsearch.FlowRequestOptionsQueryPara;
import com.ucl.model.request.flowsearch.flowDataUpdateRequest;
import com.ucl.model.vo.flowsearch.FSBaseVO;

import java.util.List;

public interface FSBaseService {
    public ApiResult queryCountryList();

    public ApiResult querySupplierList();

    public ApiResult queryRegionList();

    public ApiResult queryPeriodList();

    FlowDataOption getRequestOptions(FlowRequestOptionsQueryPara filter);

    <T extends FSBaseVO> List<T> getList(FSBaseQueryPara filter);

    int flowDataUpdate(flowDataUpdateRequest filter);

    int flowDataDelete(flowDataUpdateRequest filter);

    ApiResult updateFlowInfo(FSBaseVO fsBaseVO);

    ApiResult deleteFlowInfo(FSBaseVO fsBaseVO);
}
